﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JavaNET.exception
{
    public class JavaNETException : Exception
    {

        public String errorCode { get; set; }

        public String errorMessage { get; set; }


        public JavaNETException() { }

        public JavaNETException(string message) : base(message)
        {
            this.errorMessage = message;
        }

        public JavaNETException(string message, Exception innerException) : base(message, innerException) 
        {
            this.errorMessage = message;
        }

        public JavaNETException(String errorCode, String errorMessage)
        {
            this.errorCode = errorCode;
            this.errorMessage = errorMessage;
        }

    }
}